package com.tulingxueyuan.mall.modules.pms.mapper;

import com.tulingxueyuan.mall.modules.pms.model.PmsProductFarmer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tulingxueyuan.mall.modules.pms.model.dto.ProductFarmerUpdateInitDTO;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Bin
 * @since 2022-08-12
 */
public interface PmsProductFarmerMapper extends BaseMapper<PmsProductFarmer> {

    /**
     * 获取编辑状态下的农户信息
     * @param farmerId
     * @return
     */
    ProductFarmerUpdateInitDTO getUpdateInfo(Long farmerId);
}
